<html>
	<head>
		<link rel="stylesheet" type="text/css" href='index.css'>
		<title>留言板</title>
		<style type="text/css">
			*{
				margin: 0px;
				padding: 0px;
				text-decoration: none;
			}
			.container{
				width: 500px ;
				margin: 0px auto;
			}
			.container .item{
				border-bottom: 1px dotted #ccc;
				text-align: left;
			}
			.container .item:nth-child(even){
				background-color: #ddd;
			}
			.container .item h6{
				font-size: 14px;
				color: #333;
				padding: 10px;
			}
			.container .item p{
				font-size: 16px;
				color: #666;
				padding: 10px;
			}
			.container .item span{
				float: right;
				color: #888;
			}
			
			h1{
				margin-bottom: 10px;
				text-align: left;
				margin-top: 20px;
			}
			form{
				margin-top: 10px;
			}
			a{
				float: right;
			}
		</style>
		<!-- <link rel="stylesheet" type="text/css" href="message.css"> -->
	</head>
	<body>
		<div class="container">
			<h1>留言板11</h1>
			<hr/>
			<!-- <div class="item">
				<h6>张<span>2017-02-20</span></h6>
				<p>这是一个留言</p>
			</div> -->
			%main
			<form method="GET" action="/addmessage">
				昵称：<input name="author" />
				内容：<textarea name="message"></textarea>
				<button type="submit">提交</button>
			</form>
		</div>
	</body>
</html>